package ${project.group}.${project.name}.network;

import ${project.group}.${project.name}.App;

public class Api {




    public static final String SERVER_API = "https://stag-zhatu.dacyun.com/zhatu/";


    /**
     * http://sim.519liuliang.com/pages/login.do
     * username: root
     * password: root
     */
    public static final String USER_LOGIN = getApi() + "sys/applogin";

    /**
     * http://sim.519liuliang.com/card/grid.do
     * responseFunction=grid
     * pageSize=100
     * pageNo=1
     * rfm=0.025559604469467256
     */
    public static final String VEC_LIST = getApi() + "vec/pagelist";
    public static final String VEC_SAVE = getApi() + "vec/save/";
    public static final String VEC_INFO = getApi() + "vec/info/";
    public static final String VEC_DELETE= getApi() + "vec/delete/";
    public static final String TOKEN_KEY = "token";

    public static String getApi() {
        return App.getInstance().getApi();
    }



    //error code

    public static  final  int RESPONSE_EXPIRED=500;
}
